
import baseRequest from '../utils/requset'

// 预约统计 /api/emp/reservation/myStatistics get
export function myStatisticsApi (data) {
    return baseRequest.baseRequest('api/emp/reservation/myStatistics', 'get', data)
}
// fuwu /api/emp/reservation/myInfo get
export function myEmpInfoApi (data) {
    return baseRequest.baseRequest('api/emp/reservation/myInfo', 'get', data)
}

//服务人员 核销服务 /api/emp/reservation/queryByCode get    服务人员扫码查询服务
export function queryServiceByCodeApi (data) {
    return baseRequest.baseRequest('api/emp/reservation/queryByCode', 'get', data)
}

// 预约详情 /api/emp/reservation/reservationInfo get
export function reservationInfoApi (data) {
    return baseRequest.baseRequest('api/emp/reservation/reservationInfo', 'get', data)
}


// 、/api/emp/reservation/serviceList  get
export function empServiceListApi (data) {
    return baseRequest.baseRequest('api/emp/reservation/serviceList', 'get', data)
}


// 开始服务 /api/emp/reservation/startService post
export function startServiceApi (data) {
    return baseRequest.baseRequest('api/emp/reservation/startService', 'post', JSON.stringify(data))
}

// 服务完成 /api/emp/reservation/completeService post
export function completeServiceApi (data) {
    return baseRequest.baseRequest('api/emp/reservation/completeService', 'post', JSON.stringify(data))
}

// 服务流程 /api/emp/reservation/reservationProcess get
export function reservationProcessApi (data) {
    return baseRequest.baseRequest('api/emp/reservation/reservationProcess', 'get', data)
}